package com.ambulance.project.manager.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ambulance.framework.aspectj.lang.annotation.Excel;
import com.ambulance.framework.web.domain.BaseEntity;

/**
 * 班组管理对象 biz_class
 *
 * @author zr
 * @date 2020-05-11
 */
public class BizClass extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 班组标识 */
    private Long classID;

    /** 医院标识 */
    @Excel(name = "医院标识")
    private Long uid;

    /** 班组名称 */
    @Excel(name = "班组名称")
    private String name;

    /** 医生标识 */
    @Excel(name = "医生标识")
    private Long doctorID;

    /** 护士标识 */
    @Excel(name = "护士标识")
    private Long nurseID;

    /** 排班信息（1,2..7  周一到周日） */
    @Excel(name = "排班信息", readConverterExp = "1=,2..7,周=一到周日")
    private String weekID;

    /** 出车状态（0 未使用 1 使用中） */
    @Excel(name = "出车状态", readConverterExp = "0=,未=使用,1=,使=用中")
    private Integer carStatus;

    /** 状态（0有效，1无效） */
    @Excel(name = "状态", readConverterExp = "0=有效，1无效")
    private Integer status;


    private String doctorName;

    private String nurseName;

    private BizDoctor bizDoctor;

    private BizNurse bizNurse;

    public BizNurse getBizNurse() {
        return bizNurse;
    }

    public void setBizNurse(BizNurse bizNurse) {
        this.bizNurse = bizNurse;
    }

    public BizDoctor getBizDoctor() {
        return bizDoctor;
    }

    public void setBizDoctor(BizDoctor bizDoctor) {
        this.bizDoctor = bizDoctor;
    }

    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    public String getNurseName() {
        return nurseName;
    }

    public void setNurseName(String nurseName) {
        this.nurseName = nurseName;
    }

    public void setClassID(Long classID)
    {
        this.classID = classID;
    }

    public Long getClassID()
    {
        return classID;
    }
    public void setUid(Long uid)
    {
        this.uid = uid;
    }

    public Long getUid()
    {
        return uid;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setDoctorID(Long doctorID)
    {
        this.doctorID = doctorID;
    }

    public Long getDoctorID()
    {
        return doctorID;
    }
    public void setNurseID(Long nurseID)
    {
        this.nurseID = nurseID;
    }

    public Long getNurseID()
    {
        return nurseID;
    }
    public void setWeekID(String weekID)
    {
        this.weekID = weekID;
    }

    public String getWeekID()
    {
        return weekID;
    }
    public void setCarStatus(Integer carStatus)
    {
        this.carStatus = carStatus;
    }

    public Integer getCarStatus()
    {
        return carStatus;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("classID", getClassID())
            .append("uid", getUid())
            .append("name", getName())
            .append("doctorID", getDoctorID())
            .append("nurseID", getNurseID())
            .append("weekID", getWeekID())
            .append("remark", getRemark())
            .append("carStatus", getCarStatus())
            .append("status", getStatus())
            .toString();
    }
}
